package cn.zjyj.module.zjyj.controller.admin.riskidentify.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.zjyj.framework.common.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.zjyj.framework.common.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 风险辨识主分页 Request VO")
@Data
public class RiskIdentifyPageReqVO extends PageParam {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "风险类型（1:作业类，2:设备类，3:环境类，4公共类）", example = "2")
    private Integer riskType;

    @Schema(description = "风险类型内容id", example = "7157")
    private Long riskTypeInfoId;

    @Schema(description = "风险对象个数")
    private Integer identifyObjectSize;

    @Schema(description = "状态（0未评估，1 评估中，2 评估结束）", example = "2")
    private Integer status;

}